package com.lzh.shijicloudstack.model.vo.cookbookCategory;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author luzhiheng
 * @date 2025-02-08
 */
@Data
@ApiModel(value = "CookbookCategoryDetailVO", description = "菜谱分类VO")
public class CookbookCategoryDetailVO {

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private Long value;

    /**
     * 菜谱名称
     */
    @ApiModelProperty(value = "菜谱分类名称")
    private String name;

    /**
     * 菜谱名称
     */
    @ApiModelProperty(value = "菜谱分类名称")
    private String label;

    /**
     * 父级ID
     */
    @ApiModelProperty(value = "父级ID")
    private Long parentId;

    /**
     * 子分类
     */
    @ApiModelProperty(value = "子分类")
    private List<CookbookCategoryDetailVO> children;

}
